

#ifndef _funhpp_udef_
enum ENFUNSTATELIST
{
#else
int
FunMsg_State_Fun (enum ENFUNSTATELIST enState)
{
  switch (enState)
  {
#endif

#ifndef _funhpp_udef_
  _enFunMsg_Null,
#else
#endif

//===================port_start======================

#ifndef _funhpp_udef_
  _enW5500Fun_hardInit,
#else
  W5500FunMsg (NULL, _enW5500Fun_hardInit);
#endif

#ifndef _funhpp_udef_
  _enW5500Fun_ResetPrev,
#else
  W5500FunMsg (NULL, _enW5500Fun_ResetPrev);
#endif
		
#ifndef _funhpp_udef_
  _enW5500Fun_ResetSucc,
#else
  W5500FunMsg (NULL, _enW5500Fun_ResetSucc);
#endif

#ifndef _funhpp_udef_
  _enW5500Fun_Sock_Buf_Init,
#else
  W5500FunMsg (NULL, _enW5500Fun_Sock_Buf_Init);
#endif

#ifndef _funhpp_udef_
  _enW5500Fun_AutoSet,
#else
  W5500FunMsg (NULL, _enW5500Fun_AutoSet);
#endif

#ifndef _funhpp_udef_
  _enW5500Fun_MacSet,
#else
  W5500FunMsg (NULL, _enW5500Fun_MacSet);
#endif

#ifndef _funhpp_udef_
  _enW5500Fun_SnSRGet,
#else
  W5500FunMsg (NULL, _enW5500Fun_SnSRGet);
#endif


#ifndef _funhpp_udef_
  _enW5500Fun_socket,
#else
  W5500FunMsg (NULL, _enW5500Fun_socket);
#endif

#ifndef _funhpp_udef_
  _enW5500Fun_Listen,
#else
  W5500FunMsg (NULL, _enW5500Fun_Listen);
#endif



//===================port_end======================
#ifdef _funhpp_udef_
default:
      //--  debug_break (_debug_errno_Call_Null_);
    }
return 0;
}
#else
  _enFunMsg_End,
};
int FunMsg_State_Fun (enum ENFUNSTATELIST enState);

#define _FunMessage_Post(a)		{FunMessage_Push(a);}

#define W5500FunMsg(hwnd, message) case (message) : return W5500FunMsg##message((hwnd)) 


#endif
